package com.example.demo.mapper;

import com.example.demo.common.domain.CompensatoryLeavePlus;
import com.example.demo.common.domain.CompensatoryLeaveRecord;
import com.example.demo.common.domain.CompensatoryLeaveRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompensatoryLeaveRecordMapper {
    long countByExample(CompensatoryLeaveRecordExample example);

    int deleteByExample(CompensatoryLeaveRecordExample example);

    int deleteByPrimaryKey(Integer cid);

    int insert(CompensatoryLeaveRecord record);

    int insertSelective(CompensatoryLeaveRecord record);

    List<CompensatoryLeaveRecord> selectByExample(CompensatoryLeaveRecordExample example);

    CompensatoryLeaveRecord selectByPrimaryKey(Integer cid);

    int updateByExampleSelective(@Param("record") CompensatoryLeaveRecord record, @Param("example") CompensatoryLeaveRecordExample example);

    int updateByExample(@Param("record") CompensatoryLeaveRecord record, @Param("example") CompensatoryLeaveRecordExample example);

    int updateByPrimaryKeySelective(CompensatoryLeaveRecord record);

    int updateByPrimaryKey(CompensatoryLeaveRecord record);

    List<CompensatoryLeavePlus> selectAllPlus();

    List<CompensatoryLeavePlus> GeneralSelectAllComLeave();

    List<CompensatoryLeavePlus> DeputySelectAllComLeave();
}